from flask import redirect

from core.url.page import url_for_page_edit_login
from factory import  create_app, create_db

app = create_app()
create_db()


@app.route('/')
def hello_world():
    return redirect(url_for_page_edit_login())


if __name__ == '__main__':
    app.run()
